package com.lmqb.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lmqb.bean.GrabCarrierCalls;

public interface GrabCarrierCallsMapper {
    int deleteByPrimaryKey(Integer grabId);

    int insert(GrabCarrierCalls record);

    int insertSelective(GrabCarrierCalls record);

    GrabCarrierCalls selectByPrimaryKey(Integer grabId);

    int updateByPrimaryKeySelective(GrabCarrierCalls record);

    int updateByPrimaryKey(GrabCarrierCalls record);

	List<GrabCarrierCalls> selectByUserId(@Param(value="startPos") Integer startPos,
            @Param(value="pageSize") Integer pageSize,@Param("userId")Integer userId);
	
	Integer callsCount(Integer userId);
}